package  
{
	import org.flixel.FlxObject;
	/**
	 * ...
	 * @author Billy Kaifer
	 */
	public class Player extends Entity
	{
		public var lives:uint = 3;
		public function Player(_x:Number, _y:Number, parent:*){
			super(_x, _y, parent);
			makeGraphic(40, 40, 0xFFFF0000);
			this.health = 100;
		}
		
		public function collidesWithEnemy(enemy:FlxObject, player:FlxObject):void {
			enemy.kill();
			player.hurt(2); // change when End is implemented
			
		}
		
	}

}